* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    background-color: #152536;
}

.page-container {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    overflow-x: hidden;
    overflow-y: auto;
}

.scroll-styled2 {
    overflow-y: auto;
}

.scroll-styled2::-webkit-scrollbar {
    width: 6px;
    height: 6px;
    border-left: 0;
    background: rgba(0, 0, 0, 0.1);
}

.scroll-styled2::-webkit-scrollbar:hover {
    background: rgba(0, 0, 0, 0.15);
}

.scroll-styled2::-webkit-scrollbar-track {
    background: none;
}

.scroll-styled2::-webkit-scrollbar-thumb {
    border-radius: 3px;
    -webkit-box-shadow: inset 0 0 4px rgba(0, 0, 0, .1);
    background-color: #707070;
}

#map {
    width: 100%;
    height: 100%;
    min-height: 1075px;
}

.map-title-box {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    margin: 0;
    padding: 0;
    height: 87px;
    z-index: 50;
    will-change: transform;
    pointer-events: none;
}

.map-title {
    pointer-events: auto;
    position: relative;
    margin-top: -1px;
    width: 664px;
    height: 87px;
    line-height: 80px;
    text-align: center;
    vertical-align: middle;
    font-size: 40px;
    color: #00EDFF;
    letter-spacing: 0;
    background-image: url("./img/title_bg@2x.png");
    background-size: 664px 88px;
    background-repeat: no-repeat;
}

.sign {
    position: absolute;
    top: 20px;
    right: 20px;
    z-index: 50;
    line-height: 0;
}

#sign-up {
    position: absolute;
    top: 23px;
    right: 50px;
    z-index: 50;
    display: block;
}

#sign-in {
    position: absolute;
    top: 23px;
    right: 170px;
    z-index: 50;
    display: block;
}

#user-info {
    position: absolute;
    top: 23px;
    right: 50px;
    z-index: 50;
    display: none;
    pointer-events: auto;
    width: 100px;
    height: 40px;
    font-size: 16px;
    color: #fff;
    line-height: 40px;
    text-align: center;
    /* background: #152536; */
    margin-bottom: 16px;
    cursor: pointer;
}

#user-info span {
    vertical-align: middle;
}

.user-info-icon {
    display: inline-block;
    width: 32px;
    height: 32px;
    background-image: url("./img/user.png");
    background-size: 32px 32px;
}

#box-control {
    position: absolute;
    top: 23px;
    left: 50px;
    z-index: 50;
}

.octagon-bg-box {
    position: absolute;
    top: 78px;
    margin: 0;
    padding: 0;
    width: 215px;
    height: 992px;
    z-index: 40;
    will-change: transform;
    pointer-events: none;
    background-size: 215px 993px;
    background-repeat: no-repeat;
}

.octagon-bg-box-left {
    left: 10px;
    background-image: url("./img/left_pattern@2x.png");
}

.octagon-bg-box-right {
    right: 10px;
    background-image: url("./img/right_pattern@2x.png");
}

.octagon-box {
    position: absolute;
    width: 440px;
    height: 120px;
    background-color: rgba(13, 28, 43, 0.95);
    z-index: 50;
    border-left: 1px solid #00EDFF;
    border-right: 1px solid #00EDFF;
}

.octagon-box::before {
    content: "";
    position: absolute;
    top: -30px;
    width: 380px;
    border-color: transparent transparent rgba(13, 28, 43, 0.95) transparent;
    border-width: 0 30px 30px 30px;
    border-style: solid;
    z-index: -1;
}

.octagon-box::after {
    content: "";
    position: absolute;
    bottom: -30px;
    width: 380px;
    border-color: rgba(13, 28, 43, 0.95) transparent transparent transparent;
    border-width: 30px 30px 0 30px;
    border-style: solid;
    z-index: -1;
}

.octagon-box-corner1 {
    display: block;
    position: absolute;
    top: -29px;
    left: -1px;
    z-index: 10;
}

.octagon-box-corner2 {
    display: block;
    position: absolute;
    top: -29px;
    right: -1px;
    z-index: 10;
}

.octagon-box-corner3 {
    display: block;
    position: absolute;
    bottom: -29px;
    left: -1px;
    z-index: 10;
}

.octagon-box-corner4 {
    display: block;
    position: absolute;
    bottom: -29px;
    right: -1px;
    z-index: 10;
}

.octagon-box-border-top {
    position: absolute;
    top: -29px;
    left: 30px;
    width: 380px;
    height: 1px;
    background-color: #00EDFF;
    z-index: 10;
}

.octagon-box-border-bottom {
    position: absolute;
    bottom: -29px;
    left: 30px;
    width: 380px;
    height: 1px;
    background-color: #00EDFF;
    z-index: 10;
}

.octagon-box-title {
    position: absolute;
    top: -30px;
    left: 20px;
    width: 397px;
    height: 40px;
    text-align: center;
    line-height: 44px;
    background-image: linear-gradient(-90deg, rgba(8, 57, 79, 0.00) 0%, #073A51 50%, rgba(8, 54, 79, 0.00) 100%);
    border-bottom: solid 2px black;
    border-image: linear-gradient(-90deg, rgba(0, 237, 255, 0.0) 0%, rgba(0, 237, 255, 0.0) 10%, rgba(0, 237, 255, 1) 50%, rgba(0, 237, 255, 0.0) 100%) 2% stretch;
}

.octagon-box-title span {
    font-size: 22px;
    color: #00EDFF;
}

#incident-info {
    left: 50px;
    top: 155px;
    height: 310px;
}

#incident-chart {
    width: 100%;
    height: 100%;
}

#congestion-info {
    left: 50px;
    top: 575px;
    height: 418px;
}

#congestion-chart {
    width: 100%;
    height: 100%;
    margin-top: 20px;
    z-index: 50;
}

#weather-info {
    right: 50px;
    top: 155px;
    height: 310px;
}

#weather-chart {
    width: 100%;
    height: 100%;
    margin-top: 20px;
    z-index: 50;
}

#road-weather-info {
    right: 50px;
    top: 575px;
    height: 418px;
}

#road-weather-chart {
    width: 100%;
    height: 100%;
    padding-top: 10px;
    z-index: 50;
}

.search-box {
    position: absolute;
    top: 120px;
    right: 480px;
    width: 396px;
    height: 40px;
    border: 1px solid #0A899A;
    background: #152536;
    z-index: 50;
}

.search-box input {
    width: 100%;
    height: 100%;
    border: none;
    background-color: transparent;
    padding-left: 40px;
    font-size: 14px;
    color: #00EDFF;
}

.search-box input:focus {
    outline: none;
}

.search-box input::-webkit-input-placeholder {
    /* WebKit browsers */
    color: #00EDFF;
    opacity: 0.3;
}

.search-box input:-moz-placeholder {
    /* Mozilla Firefox 4 to 18 */
    color: #00EDFF;
    opacity: 0.3;
}

.search-box input::-moz-placeholder {
    /* Mozilla Firefox 19+ */
    color: #00EDFF;
    opacity: 0.3;
}

.search-box input:-ms-input-placeholder {
    /* Internet Explorer 10+ */
    color: #00EDFF;
    opacity: 0.3;
}

.search-icon {
    display: block;
    position: absolute;
    top: 10px;
    left: 12px;
}

.weather-switch {
    position: absolute;
    top: 125px;
    left: 510px;
    z-index: 50;
    will-change: transform;
    pointer-events: none;
}

.weather-switch-selected {
    position: relative;
    pointer-events: auto;
    width: 100px;
    height: 40px;
    font-size: 16px;
    color: #FEC819;
    line-height: 40px;
    text-align: center;
    vertical-align: middle;
    background: #152536;
    border: 1px solid #FEC819;
    margin-bottom: 16px;
    cursor: pointer;
}

.weather-switch-not-selected {
    position: relative;
    pointer-events: auto;
    width: 100px;
    height: 40px;
    font-size: 16px;
    color: #00EDFF;
    line-height: 40px;
    text-align: center;
    vertical-align: middle;
    background: #152536;
    border: 1px solid #0A899A;
    margin-bottom: 16px;
    cursor: pointer;
}

.weather-switch-selected > .weather-switch-corner {
    background-image: url("./img/corner_yellow@2x.png");
}

.weather-switch-not-selected > .weather-switch-corner {
    background-image: url("./img/corner_blue@2x.png");
}

.weather-switch-corner {
    position: absolute;
    width: 9px;
    height: 9px;
    background-size: 9px 9px;
    background-repeat: no-repeat;
}

.weather-switch-corner-1 {
    top: -2px;
    left: -2px;
}

.weather-switch-corner-2 {
    top: -2px;
    right: -2px;
    transform: rotate(90deg);
}

.weather-switch-corner-3 {
    right: -2px;
    bottom: -2px;
    transform: rotate(180deg);
}

.weather-switch-corner-4 {
    left: -2px;
    bottom: -2px;
    transform: rotate(270deg);
}

.rb-button {
    position: absolute;
    right: 500px;
    bottom: 170px;
    z-index: 50;
    text-align: center;
    font-size: 12px;
    color: #00EDFF;
}

.rb-button > div {
    margin-bottom: 20px;
}

#timeline-box {
    position: fixed;
    bottom: 57px;
    width: 780px;
    height: 75px;
    left: 50%;
    margin-left: -390px;
    z-index: 60;
    background: #152536;
    display: flex;
}

#legend {
    position: absolute;
    left: 510px;
    bottom: 150px;
    width: 100px;
    height: 120px;
    background: #152536;
    border: 1px solid #0A899A;
    border-radius: 6px;
    z-index: 50;
}

#loading {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, .6);
    z-index: 100;
}

#loading img {
    position: absolute;
    display: block;
    width: 90px;
    height: 90px;
    top: 50%;
    left: 50%;
    margin-left: -45px;
    margin-top: -45px;
}

.ring-point-marker {
    width: 100px;
    height: 100px;
    cursor: pointer;
    background-color: transparent;
}

@-webkit-keyframes ring_bound {
    from {
        left: 40px;
        top: 40px;
        width: 10px;
        height: 10px;
    }
    to {
        left: 0px;
        top: 0px;
        width: 100px;
        height: 100px;
    }
}

@keyframes ring_bound {
    from {
        left: 40px;
        top: 40px;
        width: 10px;
        height: 10px;
    }
    to {
        left: 0px;
        top: 0px;
        width: 100px;
        height: 100px;
    }
}

.ring-point-inner {
    position: absolute;
    left: 40px;
    top: 40px;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    box-shadow: 0 0 10px #ffffff;
    background-color: transparent;
    background-image: -webkit-radial-gradient(circle at center, transparent, rgba(255, 255, 255, 0.5));
    background-image: radial-gradient(circle at center, transparent, rgba(255, 255, 255, 0.5));
    border: solid 1px #ffffff;
    -webkit-animation: ring_bound 5s infinite linear;
    animation: ring_bound 5s infinite linear;
}

.ring-label-marker {
    width: 100px;
    height: 100px;
    background-color: transparent;
    line-height: 100px;
    text-align: center;
    vertical-align: middle;
    font-size: 16px;
    color: #56ffa3;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* sign in part */
#sign-in-mask {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.6);
    z-index: 100;
    display: none;
}

.login-form-wrap {
    background-color: #152536;
    border: 1px solid #00EDFF;
    border-radius: 5px;
    position: absolute;
    top: 50%;
    left: 50%;
    margin-top: -105px;
    margin-left: -150px;
    width: 300px;
    height: 210px;
    /* margin: 10px auto 20px auto; */
    padding: 30px 30px 0 30px;
    text-align: center;
}

.login-form input[type="username"],
.login-form input[type="password"] {
    width: 100%;
    border: 1px solid rgba(0, 237, 255, 0.5);
    outline: none;
    padding: 12px 20px;
    color: rgba(0, 237, 255, 1);
    font-weight: 400;
    font-family: 'Lato', sans-serif;
    border-radius: 4px;
    background-color: #152536;
}

.login-form input[type="password"] {
    margin-top: 10px;
}

/* 
.login-form input[type="username"] {
    
    padding-bottom: 13px;
    box-shadow: 0 -1px 0 #e0e0e0 inset, 0 1px 2px rgba(0, 0, 0, 0.23) inset;
}

*/

.login-form button {
    font-family: 'Lato', sans-serif;
    font-weight: 400;
    background: rgba(3, 197, 212, 1);
    display: inline-block;
    margin: 20px auto 0 auto;
    width: 40%;
    border: none;
    border-radius: 3px;
    padding: 8px;
    font-size: 17px;
    color: rgba(21, 37, 54, 1);
    text-shadow: 0 1px 0 rgba(255, 255, 255, 0.45);
    font-weight: 700;
    box-shadow: 0 1px 3px 1px rgba(0, 0, 0, 0.17), 0 1px 0 rgba(255, 255, 255, 0.36) inset;
    cursor: pointer;
}

#sign-in-close-button {
    position: absolute;
    top: 1px;
    right: 1px;
    background-color: transparent;
    border: none;
    color: rgba(0, 237, 255, 1);
    font-size: 15px;
    width: 20px;
    height: 20px;
    cursor: pointer;
}

#sign-in-submit {
    position: relative;
    right: 20px;
}

#sign-up-submit {
    position: relative;
    left: 20px;
}

#sign-in-submit:hover {
    background: rgb(3, 164, 175);
}

#sign-up-submit:hover {
    background: rgb(3, 164, 175);
}